package com.mayisoftware.mayioa.business.human.impl.dao.humanmanager;

import com.mayisoftware.mayioa.business.human.api.domain.humanmanager.HumanIpsaLeaveInfo;
import com.mayisoftware.mayioa.business.human.api.domain.humanmanager.HumanIpsaStaffInfo;
import com.mayisoftware.mayioa.business.human.api.domain.humanmanager.HumanOmpInfo;
import com.mayisoftware.mayioa.business.human.api.domain.humanmanager.HumanTurnOverInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 员工表 数据层
 * 
 *
 */
@Mapper
public interface HumanUploadMapper
{
    public List<HumanOmpInfo> getOmpInfos();
    public int isOmpInfoExist(HumanOmpInfo ompInfo);
    public int insertOmpInfo(HumanOmpInfo ompInfo);
    public int updateOmpInfo(HumanOmpInfo ompInfo);

    public int isIpsaStaffInfoExist(HumanIpsaStaffInfo ipsaStaffInfo);
    public int insertIpsaStaffInfo(HumanIpsaStaffInfo ipsaStaffInfo);
    public int updateIpsaStaffInfo(HumanIpsaStaffInfo ipsaStaffInfo);

    public int isIpsaLeaveInfoExist(HumanIpsaLeaveInfo ipsaLeaveInfo);
    public int insertIpsaLeaveInfo(HumanIpsaLeaveInfo ipsaLeaveInfo);
    public int updateIpsaLeaveInfo(HumanIpsaLeaveInfo ipsaLeaveInfo);

    public int isTurnOverInfoExist(HumanTurnOverInfo turnOverInfo);
    public int insertTurnOverInfo(HumanTurnOverInfo turnOverInfo);
    public int updateTurnOverInfo(HumanTurnOverInfo turnOverInfo);

}
